package com.billdowney.entity.auth;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.billdowney.entity.base.BaseEntityIdByUUIDHex;

import io.swagger.annotations.ApiModelProperty;

/**
 * 权限角色组
 * 
 * @author 超级小富翁 - BillDowney
 * @date 2019年2月28日 上午11:04:51
 */
@Entity
@Table(name = "auth_role_group")
public class AuthRoleGroup extends BaseEntityIdByUUIDHex {

	private static final long serialVersionUID = 821584256795098393L;
	@ApiModelProperty(value = "角色组名称")
	@Column(length = 30)
	private String roleGroupName;
	@ApiModelProperty(value = "角色组编码")
	@Column(length = 50)
	private String roleGroupCode;

	public String getRoleGroupName() {
		return roleGroupName;
	}

	public void setRoleGroupName(String roleGroupName) {
		this.roleGroupName = roleGroupName;
	}

	public String getRoleGroupCode() {
		return roleGroupCode;
	}

	public void setRoleGroupCode(String roleGroupCode) {
		this.roleGroupCode = roleGroupCode;
	}

	@Override
	public String toString() {
		return "AuthRoleGroup [roleGroupName=" + roleGroupName + ", roleGroupCode=" + roleGroupCode + "]";
	}

}
